package com.jfs.strategy.register;

import com.jfs.observer.request.abstracts.AbstractProcessor;

import javax.sip.RequestEvent;

/**
 * @Description register 方法处理策略接口
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022-08-23
 */
public interface RegisterStrategy {
    /**
     * 是否支持策略
     *
     * @return
     */
    boolean support(RequestEvent requestEvent);

    /**
     * 支持策略处理方法
     */
    void processor(AbstractProcessor abstractProcessor, RequestEvent requestEvent);
}
